
local function isvalidcode(code) local f, e = loadstring(code); return f~=nil; end
function redevallua(code)
	if isvalidcode("print("..code..")") then code = "print("..code..")" end
	local f, e = loadstring(code)
	if f then f() else print(e) end
end
